package com.danke.banner.demo.entity;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import androidx.annotation.IntDef;

/**
 * @author wupuquan
 * @version 1.0
 * @since 2020/3/26 10:43
 */
public abstract class RecyclerBaseItemBean {

    @Retention(RetentionPolicy.SOURCE)
    @IntDef({TYPE_NORMAL, TYPE_BANNER})
    public @interface ItemType {
    }

    public static final int TYPE_NORMAL = 1;
    public static final int TYPE_BANNER = 2;

    @ItemType
    public abstract int getItemType();
}
